package com.proton.carepatchtemp.adapterholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.proton.carepatchtemp.R;

/**
 * Created by MoonlightSW on 2016/12/8.
 */

public class DeviceManagerHolder extends RecyclerView.ViewHolder {
    // Content View Elements

    // Content View Elements

    public com.mcxtzhang.swipemenulib.SwipeMenuLayout mSwipe_refresh_layout;
    public ImageView mTemp_icon;
    public TextView mLocation1;
    public TextView mDevice_name_upper;
    public ImageView mIv_delete;
    public LinearLayout mLinearLayout;
    public ImageView mIvTempImg;
    public TextView isNeedUpdate;
    // End Of Content View Elements

    public DeviceManagerHolder(View itemView) {
        super(itemView);
        int i = R.layout.item_device_manager;

        mLinearLayout = itemView.findViewById(R.id.lnl_device_manager);
        mSwipe_refresh_layout = itemView.findViewById(R.id.swipe_refresh_layout);
        mTemp_icon = itemView.findViewById(R.id.temp_icon);
        mLocation1 = itemView.findViewById(R.id.location1);
        mDevice_name_upper = itemView.findViewById(R.id.device_name_upper);
        mIvTempImg = itemView.findViewById(R.id.temp_icon);
        mIv_delete = itemView.findViewById(R.id.iv_delete);
        isNeedUpdate = itemView.findViewById(R.id.is_need_update);
//        mTv_device_id = (TextView) itemView.findViewById(R.id.tv_device_id);
//        mTv_last_use_time = (TextView) itemView.findViewById(R.id.tv_last_use_time);
//        mTv_device_from = (TextView) itemView.findViewById(R.id.tv_device_from);
    }

    private void bindViews() {


    }
}
